package com.estate.pojo;

import java.util.List;

public class Region {
    private Integer regId;

    private Integer regDetailId;

    private String regCode;

    private String regName;
    
    //分期项目对象
    private Detail detail;
    
    //一个区域里有多个楼栋的信息
    private List<Ban> buildList;

	public Integer getRegId() {
        return regId;
    }

    public void setRegId(Integer regId) {
        this.regId = regId;
    }

    public Integer getRegDetailId() {
        return regDetailId;
    }

    public void setRegDetailId(Integer regDetailId) {
        this.regDetailId = regDetailId;
    }

    public String getRegCode() {
        return regCode;
    }

    public void setRegCode(String regCode) {
        this.regCode = regCode == null ? null : regCode.trim();
    }

    public String getRegName() {
        return regName;
    }

    public void setRegName(String regName) {
        this.regName = regName == null ? null : regName.trim();
    }

	public Detail getDetail() {
		return detail;
	}

	public void setDetail(Detail detail) {
		this.detail = detail;
	}

	public List<Ban> getBuildList() {
		return buildList;
	}

	public void setBuildList(List<Ban> buildList) {
		this.buildList = buildList;
	}
}